﻿using LPY.LeHealth.DTO;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LPY.LeHealth.DAL
{
    using ServiceStack.OrmLite;
  public  class capacity_dal:BaseDAL
    { 

         
       ///// <summary>
       // /// 显示智能体检入口
       // /// </summary>
       // /// <returns></returns>
      public List<Capacity> showcapacity()
      {
          using (var cnn = DbConnection)
          {
              var sql = cnn.From<Capacity>();
              return cnn.Select(sql).ToList();
          }

      }
    }
}
